package com.mipo.client.javase.designerpattern.singleton.lazy.threadunsafe.nosynchronized;

/**
 * lazy singleton
 * @author kitty
 */
public class MySingleton {
	
	private static MySingleton instance = null;
	
	private MySingleton(){}
	
	public static MySingleton getInstance() {
		if(instance == null){
			instance = new MySingleton();
		}
		return instance;
	}
}
